-- @owner: lvlintao
-- @date: 2025-11-18
-- @testpoint: D兼容性-函数中使用'< >'操作，成功
@connect PrimaryDbDmode;

--step1 创建函数;expect:成功
drop function if exists func_case0001;
create function func_case0001 returns boolean as
$d$
declare
    output boolean;
begin
    select 2< >3 into output;
    raise info 'INFO:output %',output;
    return output;
END;
$d$ LANGUAGE plpgsql;
/
select func_case0001();

--step2 清理环境;expect:成功
drop function if exists func_case0001;